from django.urls import path

from server.apps.main.views import index
from .feeds import LatestPostsFeed
from . import views

app_name = 'main'

urlpatterns = [
    path('hello/', index, name='hello'),
    path('feed/rss', LatestPostsFeed(), name='post_feed'),
    path('<int:year>/<int:month>/<int:day>/<slug:post>/',
         views.post_detail, name='post_detail'),
]
